package com.ruoyi.common.core.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 业务Entity基类
 *
 * @author ruoyi
 */
@Getter
@Setter
public class BussinessEntity implements Serializable {
	private static final long serialVersionUID = 1L;



	/** 搜索值 */
	private String searchValue;

	/** 商户id */
	private List<Object> shopIds;

	/** 部门ID */
	@Excel(name = "部门ID")
	private Long deptId;

	/** 审核描述 */
	@Excel(name = "部门名称")
	private String deptName;

	/** 创建时间 */
	@JsonFormat(pattern = "yyyyMMddHHmmss")
	private String createTime;

	/** 请求参数 */
	private Map<String, Object> params;

	public Map<String, Object> getParams()
	{
		if (params == null)
		{
			params = new HashMap<>();
		}
		return params;
	}
}
